<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>会员登录</title>
  <script>
    if (localStorage.getItem('userToken')) location.href = './my.html'
  </script>
  <link rel="stylesheet" href="./bootstrap/bootstrap.min.css" />
  <link rel="stylesheet" href="./bootstrap/bootstrap-icons.css" />
  <link rel="stylesheet" href="./iconfont/iconfont.css" />
  <link rel="stylesheet" href="./css/login.css" />
</head>

<body>
  <!-- 头部区域 -->
  <header>
    <div class="top">
      <h1>会员登录</h1>
      <a href="./my.html" class="iconfont icon-zuojiantou"></a>
    </div>
  </header>
  <!-- 主体区域 -->
  <div class="main">
    <!-- 标题区域 -->
    <div class="top">
      <h1>手机号登录</h1>
      <p>未注册的手机号登录后将自动注册</p>
    </div>
    <!-- 表单 -->
    <form id="loginform">
      <div class="formipt">
        <input type="text" placeholder="请输入手机号码" name="mobile" />
      </div>
      <div class="formipt">
        <input type="text" placeholder="请输入图形验证码" name="captchaCode" />
        <img src="" alt="" />
      </div>
      <div class="formipt">
        <input type="text" placeholder="请输入短信验证码" name="smsCode" />
        <span>获取验证码</span>
      </div>
      <button>登录</button>
    </form>
  </div>
  <!-- toast -->
  <div class="position-fixed top-0 start-50 pt-4" style="
        z-index: 999;
        transform: translateX(-50%);
        text-align: center;
        color: #fff;
      ">
    <div id="myToast" class="toast bg-rgba" style="background-color: gray; margin-top: 8vw">
      <div class="toast-body">提示消息</div>
    </div>
  </div>
  <script src="./bootstrap/bootstrap.min.js"></script>
  <script src="./js/vue.js"></script>
  <script src="./js/axios.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/form-serialize.js"></script>
  <script src="./js/login.js"></script>
</body>

</html>